package api

import (
	"github.com/gogf/gf/v2/frame/g"
	"lot_admin_api/internal/model"
)

// AddRechargeRuleReq 新增充值规则
type AddRechargeRuleReq struct {
	g.Meta `path:"/recharge-rule/add" tags:"充值规则模块" method:"post" summary:"新增充值规则"`
	*model.RechargeRuleInfoRes
}

// UpdateRechargeRuleReq 更新充值规则
type UpdateRechargeRuleReq struct {
	g.Meta `path:"/recharge-rule/update" tags:"充值规则模块" method:"post" summary:"更新充值规则"`
	*model.RechargeRuleIdAndInfoRes
}

// DeleteRechargeRuleReq 删除充值规则
type DeleteRechargeRuleReq struct {
	g.Meta `path:"/recharge-rule/delete" tags:"充值规则模块" method:"delete" summary:"删除充值规则"`
	*model.RechargeRuleIdReq
}

// RechargeRuleInfoReq 通过充值规则id获取详情
type RechargeRuleInfoReq struct {
	g.Meta `path:"/recharge-rule/info" tags:"充值规则模块" method:"get" summary:"通过id获取充值规则详情"`
	*model.RechargeRuleIdReq
}

// RechargeRuleListReq 获取充值规则列表
type RechargeRuleListReq struct {
	g.Meta `path:"/recharge-rule/list" tags:"充值规则模块" method:"get" summary:"获取充值规则列表"`
	*model.RechargeRuleListReq
}
